package com.ruoyi.project.income.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商户账户信息对象 bins_merchant_account
 * 
 * @author admin
 * @date 2025-04-03
 */
public class BinsMerchantAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商户ID */
    private Long merchantDeptId;

    /** 商户ID */
    private String merchantDeptName;

    /** 累计金额 */
    @Excel(name = "累计金额")
    private BigDecimal totalAmount;

    /** 实际余额 */
    @Excel(name = "实际余额")
    private BigDecimal available;

    /** 提现账户 */
    @Excel(name = "提现账户")
    private String accountNum;

    @Excel(name = "提现金额")
    private BigDecimal Withdrawal;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setMerchantDeptId(Long merchantDeptId) 
    {
        this.merchantDeptId = merchantDeptId;
    }

    public Long getMerchantDeptId() 
    {
        return merchantDeptId;
    }

    public String getMerchantDeptName() {
        return merchantDeptName;
    }

    public void setMerchantDeptName(String merchantDeptName) {
        this.merchantDeptName = merchantDeptName;
    }

    public void setTotalAmount(BigDecimal totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setAvailable(BigDecimal available) 
    {
        this.available = available;
    }

    public BigDecimal getAvailable() 
    {
        return available;
    }

    public void setAccountNum(String accountNum) 
    {
        this.accountNum = accountNum;
    }

    public String getAccountNum() 
    {
        return accountNum;
    }

    public BigDecimal getWithdrawal() {
        return Withdrawal;
    }

    public void setWithdrawal(BigDecimal withdrawal) {
        Withdrawal = withdrawal;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchantDeptId", getMerchantDeptId())
            .append("totalAmount", getTotalAmount())
            .append("available", getAvailable())
            .append("accountNum", getAccountNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
